#pragma once

namespace bt{

	template<class T, int v>
	class SingletonT
	{
	public:
		SingletonT(){}
		~SingletonT(){}

		static T* GetInstance()
		{
			static T t;
			return &t;
		}

	private:
		enum{ value = v};
	};

}
